package name.hankc.spring.bean.complexfield;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

import name.hankc.spring.bean.Cat;

public class Person {
  private String[] names;
  private List<String> tels;
  private Set<Cat> cats;
  private Map<String, Object> events;
  private Properties props;

  public String[] getNames() {
    return names;
  }

  public void setNames(String[] names) {
    this.names = names;
  }

  public List<String> getTels() {
    return tels;
  }

  public void setTels(List<String> tels) {
    this.tels = tels;
  }

  public Set<Cat> getCats() {
    return cats;
  }

  public void setCats(Set<Cat> cats) {
    this.cats = cats;
  }

  public Map<String, Object> getEvents() {
    return events;
  }

  public void setEvents(Map<String, Object> events) {
    this.events = events;
  }

  public Properties getProps() {
    return props;
  }

  public void setProps(Properties props) {
    this.props = props;
  }

  @Override
  public String toString() {
    return "Person [cats=" + cats + ", events=" + events + ", names=" + Arrays.toString(names) + ", props=" + props
        + ", tels=" + tels + "]";
  }
}
